package com.mrobuy.jdvc.entity;

import com.gavel.annotation.FieldMeta;
import com.gavel.annotation.TableMeta;
import com.gavel.database.SQLExecutor;

@TableMeta(name = "VC_FEATURE", title = "特殊业务类型")
public class VCFeature {

    @FieldMeta(name = "ID", title = "ID", length = 32, primary = true)
    private String id;

    @FieldMeta(name = "CID", title = "三级分类")
    private Integer cid;

    @FieldMeta(name = "WAREID", title = "商品编号", length = 32)
    private String wareid;

    @FieldMeta(name = "OTC", title = "是否otc分类", length = 8)
    private String otc;

    @FieldMeta(name = "PRESCRIPTION", title = "是否处方药分类", length = 8)
    private String prescription;

    @FieldMeta(name = "ATTENTION", title = "是否资质敏感分类", length = 8)
    private String attention;

    @FieldMeta(name = "GAEA", title = "是否盖亚敏感分类", length = 8)
    private String gaea;

    @FieldMeta(name = "APPKEY", title = "应用KEY", length = 32)
    private String appkey;

    public VCFeature() {
    }

    public VCFeature(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getCid() {
        return cid;
    }

    public void setCid(Integer cid) {
        this.cid = cid;
    }

    public String getWareid() {
        return wareid;
    }

    public void setWareid(String wareid) {
        this.wareid = wareid;
    }

    public String getOtc() {
        return otc;
    }

    public void setOtc(String otc) {
        this.otc = otc;
    }

    public String getPrescription() {
        return prescription;
    }

    public void setPrescription(String prescription) {
        this.prescription = prescription;
    }

    public String getAttention() {
        return attention;
    }

    public void setAttention(String attention) {
        this.attention = attention;
    }

    public String getGaea() {
        return gaea;
    }

    public void setGaea(String gaea) {
        this.gaea = gaea;
    }

    public String getAppkey() {
        return appkey;
    }

    public void setAppkey(String appkey) {
        this.appkey = appkey;
    }

    public static void main(String[] args) throws Exception {
        SQLExecutor.createTable(VCFeature.class);
    }

    @Override
    public String toString() {
        return "VCFeature{" +
                "id='" + id + '\'' +
                ", cid=" + cid +
                ", wareid='" + wareid + '\'' +
                ", otc='" + otc + '\'' +
                ", prescription='" + prescription + '\'' +
                ", attention='" + attention + '\'' +
                ", gaea='" + gaea + '\'' +
                ", appkey='" + appkey + '\'' +
                '}';
    }
}
